Optimal. Leaf size=148 \[ \frac{(g x)^{m+1} (d+e x)^n \left (\frac{e x}{d}+1\right )^{-n} F_1\left (m+1;-n,1;m+2;-\frac{e x}{d},-\frac{\sqrt{c} x}{\sqrt{-a}}\right )}{2 a g (m+1)}+\frac{(g x)^{m+1} (d+e x)^n \left (\frac{e x}{d}+1\right )^{-n} F_1\left (m+1;-n,1;m+2;-\frac{e x}{d},\frac{\sqrt{c} x}{\sqrt{-a}}\right )}{2 a g (m+1)} \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 0.411911, antiderivative size = 148, normalized size of antiderivative = 1., number of steps used = 6, number of rules used = 3, integrand size = 22, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.136 \[ \frac{(g x)^{m+1} (d+e x)^n \left (\frac{e x}{d}+1\right )^{-n} F_1\left (m+1;-n,1;m+2;-\frac{e x}{d},-\frac{\sqrt{c} x}{\sqrt{-a}}\right )}{2 a g (m+1)}+\frac{(g x)^{m+1} (d+e x)^n \left (\frac{e x}{d}+1\right )^{-n} F_1\left (m+1;-n,1;m+2;-\frac{e x}{d},\frac{\sqrt{c} x}{\sqrt{-a}}\right )}{2 a g (m+1)} \]
Antiderivative was successfully verified.
[In] Int[((g*x)^m*(d + e*x)^n)/(a + c*x^2),x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [A] time = 61.0681, size = 112, normalized size = 0.76 \[ \frac{\left (g x\right )^{m + 1} \left (1 + \frac{e x}{d}\right )^{- n} \left (d + e x\right )^{n} \operatorname{appellf_{1}}{\left (m + 1,1,- n,m + 2,- \frac{\sqrt{c} x}{\sqrt{- a}},- \frac{e x}{d} \right )}}{2 a g \left (m + 1\right )} + \frac{\left (g x\right )^{m + 1} \left (1 + \frac{e x}{d}\right )^{- n} \left (d + e x\right )^{n} \operatorname{appellf_{1}}{\left (m + 1,1,- n,m + 2,\frac{\sqrt{c} x}{\sqrt{- a}},- \frac{e x}{d} \right )}}{2 a g \left (m + 1\right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate((g*x)**m*(e*x+d)**n/(c*x**2+a),x)
[Out]
_______________________________________________________________________________________
Mathematica [A] time = 0.0845539, size = 0, normalized size = 0. \[ \int \frac{(g x)^m (d+e x)^n}{a+c x^2} \, dx \]
Verification is Not applicable to the result.
[In] Integrate[((g*x)^m*(d + e*x)^n)/(a + c*x^2),x]
[Out]
_______________________________________________________________________________________
Maple [F] time = 0.078, size = 0, normalized size = 0. \[ \int{\frac{ \left ( gx \right ) ^{m} \left ( ex+d \right ) ^{n}}{c{x}^{2}+a}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int((g*x)^m*(e*x+d)^n/(c*x^2+a),x)
[Out]
_______________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \[ \int \frac{{\left (e x + d\right )}^{n} \left (g x\right )^{m}}{c x^{2} + a}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((e*x + d)^n*(g*x)^m/(c*x^2 + a),x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \[{\rm integral}\left (\frac{{\left (e x + d\right )}^{n} \left (g x\right )^{m}}{c x^{2} + a}, x\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((e*x + d)^n*(g*x)^m/(c*x^2 + a),x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \[ \text{Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((g*x)**m*(e*x+d)**n/(c*x**2+a),x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [F] time = 0., size = 0, normalized size = 0. \[ \int \frac{{\left (e x + d\right )}^{n} \left (g x\right )^{m}}{c x^{2} + a}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((e*x + d)^n*(g*x)^m/(c*x^2 + a),x, algorithm="giac")
[Out]